<table class="table table-striped table-bordered table-hover nomargin-bottom">
	<thead>
		<tr>
								<th class="center">商品索引id</th>
			<th class="center">商品名称</th>
			<th class="center">商品副标题</th>
			<th class="center">商品分类id</th>
			<th class="center">商品分类名称</th>
			<th class="center">商品品牌id</th>
			<th class="center">brandName</th>
			<th class="center">类型id</th>
			<th class="center">店铺id</th>
			<th class="center">storeName</th>
			<th class="center">商品规格开启状态，1开启，0关闭</th>
			<th class="center">商品默认对应的规格id</th>
			<th class="center">规格名称</th>
			<th class="center">商品默认封面图片</th>
			<th class="center">商品多图</th>
			<th class="center">商品店铺价格</th>
			<th class="center">商品货号</th>
			<th class="center">商品上架1上架0下架2定时上架</th>
			<th class="center">商品浏览数</th>
			<th class="center">商品状态，0开启，1违规下架</th>
			<th class="center">商品推荐</th>
			<th class="center">createTime</th>
			<th class="center">商品关键字</th>
			<th class="center">商品描述</th>
			<th class="center">商品详细内容</th>
			<th class="center">商品属性</th>
			<th class="center">商品规格</th>
			<th class="center">颜色自定义图片</th>
			<th class="center">updateTime</th>
			<th class="center">startTime</th>
			<th class="center">endTime</th>
			<th class="center">商品类型,1为全新、2为二手</th>
			<th class="center">运费模板ID，不使用运费模板值为0</th>
			<th class="center">平邮</th>
			<th class="center">快递</th>
			<th class="center">EMS</th>
			<th class="center">商品所在地(市)</th>
			<th class="center">cityName</th>
			<th class="center">商品所在地(省)</th>
			<th class="center">provinceName</th>
			<th class="center">商品违规下架原因</th>
			<th class="center">商品所在店铺状态 0开启 1关闭</th>
			<th class="center">评论次数</th>
			<th class="center">售出数量</th>
			<th class="center">商品收藏数量</th>
			<th class="center">商品运费承担方式 默认 0为买家承担 1为卖家承担</th>
			<th class="center">店铺自定义分类id</th>
			<th class="center">是否删除 0:未删除  1:已删除</th>
			<th class="center">市场价</th>
			<th class="center">成本价</th>

			<th class="center">操作</th>
		</tr>
	</thead>

	<tbody>
		@for(item in page.list){
			<tr>
								<td class="center">${item.goodsId!}</td>
			<td class="center">${item.goodsName!}</td>
			<td class="center">${item.goodsSubtitle!}</td>
			<td class="center">${item.gcId!}</td>
			<td class="center">${item.gcName!}</td>
			<td class="center">${item.brandId!}</td>
			<td class="center">${item.brandName!}</td>
			<td class="center">${item.typeId!}</td>
			<td class="center">${item.storeId!}</td>
			<td class="center">${item.storeName!}</td>
			<td class="center">${item.specOpen!}</td>
			<td class="center">${item.specId!}</td>
			<td class="center">${item.specName!}</td>
			<td class="center">${item.goodsImage!}</td>
			<td class="center">${item.goodsImageMore!}</td>
			<td class="center">${item.goodsStorePrice!}</td>
			<td class="center">${item.goodsSerial!}</td>
			<td class="center">${item.goodsShow!}</td>
			<td class="center">${item.goodsClick!}</td>
			<td class="center">${item.goodsState!}</td>
			<td class="center">${item.goodsCommend!}</td>
			<td class="center">${item.createTime!}</td>
			<td class="center">${item.goodsKeywords!}</td>
			<td class="center">${item.goodsDescription!}</td>
			<td class="center">${item.goodsBody!}</td>
			<td class="center">${item.goodsAttr!}</td>
			<td class="center">${item.goodsSpec!}</td>
			<td class="center">${item.goodsColImg!}</td>
			<td class="center">${item.updateTime!}</td>
			<td class="center">${item.startTime!}</td>
			<td class="center">${item.endTime!}</td>
			<td class="center">${item.goodsForm!}</td>
			<td class="center">${item.transportId!}</td>
			<td class="center">${item.pyPrice!}</td>
			<td class="center">${item.kdPrice!}</td>
			<td class="center">${item.esPrice!}</td>
			<td class="center">${item.cityId!}</td>
			<td class="center">${item.cityName!}</td>
			<td class="center">${item.provinceId!}</td>
			<td class="center">${item.provinceName!}</td>
			<td class="center">${item.goodsCloseReason!}</td>
			<td class="center">${item.goodsStoreState!}</td>
			<td class="center">${item.commentnum!}</td>
			<td class="center">${item.salenum!}</td>
			<td class="center">${item.goodsCollect!}</td>
			<td class="center">${item.goodsTransfeeCharge!}</td>
			<td class="center">${item.storeClassId!}</td>
			<td class="center">${item.isDel!}</td>
			<td class="center">${item.goodsMarketPrice!}</td>
			<td class="center">${item.goodsCostPrice!}</td>

				<td class="center">
					<div class="hidden-sm hidden-xs action-buttons">
					@if(auth.hasPermission("goods:goods:edit")){
						<a class="green" href="javascript:void(0);" 
							data-mode="page" data-title="编辑"
							data-url="${ctxPath}/goods/edit/showlayer"
							data-data="{id:'${item.id}'}" 
						>
							<i class="ace-icon fa fa-pencil bigger-130"></i>
						</a>
					@}
					
					@if(auth.hasPermission("goods:goods:delete")){
						<a class="red" href="javascript:void(0);" 
							data-mode="del" data-title="删除操作"
							data-msg="你确定删除此数据吗?"
							data-url="${ctxPath}/goods/delete" 
							data-data="{id:'${item.id}',type:'${item.type}',value:'${item.value}'}"
						>
							<i class="ace-icon fa fa-trash-o bigger-130"></i>
						</a>
					@}
					</div>
				</td>
			</tr>
		@}
	</tbody>
</table>
<div class="space-8"></div>
<#paginate page="${page}" />
